package com.haizhi.crm.sys.auth.model;

import com.haizhi.crm.common.model.BaseDo;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created by yangyijun on 2018/5/16.
 */
@Data
@Entity
@Table(name = "ts_user" )
public class UserDo extends BaseDo {
    @Column(name = "user_no" )
    private String userNo;

    @Column(name = "name" )
    private String name;

    @Column(name = "sex" )
    private String sex;

    @Column(name = "password" )
    private String password;

    @Column(name = "id_number" )
    private String idNumber;

    @Column(name = "extension_no" )
    private String extensionNo;

    @Column(name = "department_id" )
    private Long departmentId;

    @Column(name = "status" )
    private String status;

    @Column(name = "position_id" )
    private Long positionId;

    @Column(name = "type" )
    private String type;

    @Column(name = "email" )
    private String email;

    @Column(name = "phone" )
    private String phone;
}
